use std::sync::Arc;

use axum::{extract::State, http::StatusCode, response::IntoResponse, Json};

use crate::app::AppState;

pub async fn test(State(state): State<Arc<AppState>>) -> impl IntoResponse {
    let _db = &state.db;
    (StatusCode::OK, Json("测试"))
}
